<!DOCTYPE html>
<html  lang="en" xmlns:th="http://www.thymeleaf.org">
<head>

    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>layout  - Layui</title>
    <link rel="stylesheet" th:href="@{/libs/layui/css/layui.css}">

    <style>
        #ff{
            height: 260px;

        }
    </style>

</head>
<body>
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo layui-hide-xs layui-bg-black">校园应用系统</div>

        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item layui-hide layui-show-md-inline-block">
                <a href="javascript:;">
                    <img src="//tva1.sinaimg.cn/crop.0.0.118.118.180/5db11ff4gw1e77d3nqrv8j203b03cweg.jpg" class="layui-nav-img">
                    tester
                </a>
                <dl class="layui-nav-child">
                    <dd><a href="">Your Profile</a></dd>
                    <dd><a href="">Settings</a></dd>
                    <dd><a href="">Sign out</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item" lay-header-event="menuRight" lay-unselect>
                <a href="javascript:;">
                    <i class="layui-icon layui-icon-more-vertical"></i>
                </a>
            </li>
        </ul>
    </div>

    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
            <ul class="layui-nav layui-nav-tree" lay-filter="test">
                <li class="layui-nav-item layui-nav-itemed">
                    <a class="" href="javascript:;">学生管理</a>
                    <dl class="layui-nav-child">
                        <dd><a href="/findAll">学生基本信息管理</a></dd>
                    </dl>
                </li>

                <li class="layui-nav-item">
                    <a href="javascript:;">教室管理</a>
                    <dl class="layui-nav-child">
                        <dd><a href="/findAllClassroom">教室信息管理</a></dd>
                    </dl>
                </li>

                <li class="layui-nav-item">
                    <a href="javascript:;">班级管理</a>
                    <dl class="layui-nav-child">
                        <dd><a href="/findAllGrade">班级信息管理</a></dd>
                    </dl>
                </li>

                <li class="layui-nav-item">
                    <a href="javascript:;">宿舍管理</a>
                    <dl class="layui-nav-child">
                        <dd><a href="/findAllDormitory">宿舍信息管理</a></dd>
                    </dl>
                </li>

            </ul>
        </div>
    </div>


    <div class="layui-body">
        <h1>班级信息修改页面</h1><br>

        <form th:action="@{/updateGrade}" th:object="${list}"  method="post">

            <input type="hidden" th:field="*{pkId}">

            <div class="layui-form-item">
                    <label class="layui-form-label">班级ID</label>
                    <div class="layui-input-inline">
                        <input type="tel" th:field="*{gradeId}"  autocomplete="off" class="layui-input">
                    </div>
                </div>

                <div class="layui-form-item">
                        <label class="layui-form-label">班级名称</label>
                        <div class="layui-input-inline">
                            <input type="tel" th:field="*{gradeName}"  autocomplete="off" class="layui-input">
                        </div>
                    </div>

                    <div class="layui-form-item">

                        <label class="layui-form-label">班主任ID</label>
                        <div class="layui-input-inline">
                            <input type="tel" th:field="*{classTeacherId}"  autocomplete="off" class="layui-input">
                        </div>
                    </div>

                        <div class="layui-form-item">

                                <label class="layui-form-label">班主任姓名</label>
                                <div class="layui-input-inline">
                                    <input type="tel" th:field="*{classTeacherName}"  autocomplete="off" class="layui-input">
                                </div>
                            </div>

                            <div class="layui-form-item">

                                    <label class="layui-form-label">讲师ID</label>
                                    <div class="layui-input-inline">
                                        <input type="tel" th:field="*{lecturerId}"  autocomplete="off" class="layui-input">
                                    </div>
                                </div>

                                <div class="layui-form-item">

                                        <label class="layui-form-label">讲师姓名</label>
                                        <div class="layui-input-inline">
                                            <input type="tel" th:field="*{lecturerName}"  autocomplete="off" class="layui-input">
                                        </div>
                                    </div>

                                    <div class="layui-form-item">

                                            <label class="layui-form-label">学生数量</label>
                                            <div class="layui-input-inline">
                                                <input type="tel" th:field="*{studentsNumber}"  autocomplete="off" class="layui-input">
                                            </div>
                                        </div>

                                        <div class="layui-form-item">

                                                <label class="layui-form-label">所在教室ID</label>
                                                <div class="layui-input-inline">
                                                    <input type="tel" th:field="*{classroomClassroomId}"  autocomplete="off" class="layui-input">
                                                </div>
                                            </div>


                                            <div class="layui-form-item">

                                                    <label class="layui-form-label">所在教室编号</label>
                                                    <div class="layui-input-inline">
                                                        <input type="tel" th:field="*{classroomClassroomNumber}"  autocomplete="off" class="layui-input">
                                                    </div>
                                                </div>



            <input type="submit" value="提交" class="layui-btn layui-btn-warm">
        </form>

    </div>

        <div class="layui-footer">

    </div>

    <script th:src="@{/libs/layui/layui.js}"></script>
</div>
</body>
</html>